/**
 * 
 */
package ar.edu.utn.frsf.cidisi.ginet.generation.elementsestructure;

import java.util.HashMap;
import java.util.Map;

import org.eclipse.emf.common.util.EList;

import ar.edu.utn.frsf.cidisi.ginet.Place;
import ar.edu.utn.frsf.cidisi.upcolbpip.interactionprotocols.InteractionPath;
import ar.edu.utn.frsf.cidisi.upcolbpip.interactionprotocols.InteractionProtocolElement;

/**
 * @author Neri
 *
 */
public class NodeStructure{
	
	private InteractionProtocolElement node;
	
	private InteractionPath parent;
	
	private Map<InteractionPath, EList<InteractionProtocolElement>> childrens = new HashMap<InteractionPath, EList<InteractionProtocolElement>>();
	
	public NodeStructure(InteractionPath parent, InteractionProtocolElement node, Map<InteractionPath, EList<InteractionProtocolElement>>childrens, int interactionPaths){
		
		this.parent = parent;
		this.node = node;
		this.childrens = childrens;
	}
	
	public InteractionProtocolElement getNode(){
		return this.node;
	}
	
	public InteractionPath getParent(){
		return this.parent;
	}

	public Map<InteractionPath, EList<InteractionProtocolElement>> getChildrens(){
		return this.childrens;
	}
	
}
